package com.lx.pc.domain.entity.account;

import java.io.Serializable;

import org.springframework.data.mybatis.annotations.Column;
import org.springframework.data.mybatis.annotations.Entity;

import com.lx.pc.domain.entity.AbstractBaseEntity;


/**
 * 账户余额
 *
 * @author houzhong
 * @date 2018年10月30日 下午2:02:43
 */
@Entity(table = "t_account")
public class AccountEntity extends AbstractBaseEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 用户id
	 */
	@Column(name = "user_id")
	private String userId;
	
	/**
	 * 总金额
	 */
	@Column(name = "amount")
	private Float amount;
	
	/**
	 * 可提现
	 */
	@Column(name = "cash_amount")
	private Float cashAmount;
	
	/**
	 * 不可提现
	 */
	@Column(name = "uncash_amount")
	private Float uncashAmount;
	
	public AccountEntity() {
		super();
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getUserId() {
		return userId;
	}
	
	public void setAmount(Float amount) {
		this.amount = amount;
	}
	
	public Float getAmount() {
		return amount;
	}
	
	public void setCashAmount(Float cashAmount) {
		this.cashAmount = cashAmount;
	}
	
	public Float getCashAmount() {
		return cashAmount;
	}
	
	public void setUncashAmount(Float uncashAmount) {
		this.uncashAmount = uncashAmount;
	}
	
	public Float getUncashAmount() {
		return uncashAmount;
	}
}
